package com.situ.mp.service.impl;

import com.situ.mp.pojo.Student;
import com.situ.mp.mapper.StudentMapper;
import com.situ.mp.pojo.query.StudentQuery;
import com.situ.mp.service.IStudentService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author dell
 * @since 2024-09-12
 */
@Service
public class StudentServiceImpl extends ServiceImpl<StudentMapper, Student> implements IStudentService {

    @Autowired
    private StudentMapper studentMapper;

    @Override
    public List<Student> list(StudentQuery studentQuery) {
        System.out.println("StudentServiceImpl.list");
        return studentMapper.list(studentQuery);
    }
}
